package com.zhangjie.apiboss.service;

import com.zhangjie.apiboss.remote.ServiceDriverUserClient;
import com.zhangjie.internalcommon.dto.DriverUser;
import com.zhangjie.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: zj
 * @Date: 2024/2/22 - 02 - 22 - 19:25
 * @Description: com.zhangjie.apiboss.service
 * @version: 1.0
 */
@Service
public class DriverUserService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult addDriverUser(DriverUser driverUser){

        return serviceDriverUserClient.addDriverUser(driverUser);
    }

    public ResponseResult updateDriverUser(DriverUser driverUser){

        return serviceDriverUserClient.updateDriverUser(driverUser);
    }
}
